SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{796a66a4f37594da890c3fcf2b9ab8b97e894a7be7d3655b492e176f030864c3}Calpe{796a66a4f37594da890c3fcf2b9ab8b97e894a7be7d3655b492e176f030864c3}' OR prCity = 'Calpe' OR prZip = 'Calpe' OR prStreet LIKE '{796a66a4f37594da890c3fcf2b9ab8b97e894a7be7d3655b492e176f030864c3}Calpe{796a66a4f37594da890c3fcf2b9ab8b97e894a7be7d3655b492e176f030864c3}' OR prCountry = 'Calpe') AND (prLocation LIKE '{796a66a4f37594da890c3fcf2b9ab8b97e894a7be7d3655b492e176f030864c3}Spain{796a66a4f37594da890c3fcf2b9ab8b97e894a7be7d3655b492e176f030864c3}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{796a66a4f37594da890c3fcf2b9ab8b97e894a7be7d3655b492e176f030864c3}Spain{796a66a4f37594da890c3fcf2b9ab8b97e894a7be7d3655b492e176f030864c3}' OR prCountry = 'Spain')